package com.cykj.pos.mapper;

import com.cykj.pos.domain.BizAdvertising;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cykj.pos.domain.BizAdvertisingType;
import com.cykj.pos.profit.dto.BizAdvertisingDTO;

import java.util.List;

/**
 * 广告Mapper接口
 *
 * @author weijianbo
 * @date 2021-04-26
 */
public interface BizAdvertisingMapper extends BaseMapper<BizAdvertising> {

    int saveBizAdvertising(BizAdvertising bizAdvertising);

    //查询所有广告
    List<BizAdvertisingDTO> selectAdvertisingList(BizAdvertisingType bizAdvertisingType);


}
